import Mock from 'mockjs'

Mock.setup({ timeout: '50-2000' })

// Mock.mock('/account/login', { 
//   code: 0,
//   msg: '请求成功',
//   data: {
//     'id|10000-11999': 1,
//     'name': '@cname',
//   }
// })

Mock.mock('/system/menu', {
  code: 0,
  'data|10': [
    {
      label: '@cname',
      'key|100-999': 1,
      'children|1-3': [{
        label: '@cname',
        'key|100-999': 1
      }]
    }
  ]
})
